package org.codeart.api_driver.remote;

import org.codeart.common.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

@FeignClient(name = "service-verification-code")
public interface ServiceCodeClient {

    @GetMapping("/number-code/{size}")
    R<Map<Object, Object>> getVerificationCode(@PathVariable("size") int size);

}
